<!-- addEditGroup.html 2018-07-05 14:00:14-->
#@HplusLayout()
#define cssStyle()
#end
#define content()
<div style="padding:10px;height: 100%">
	<form method="post" class="form-horizontal required-validate" action="saveGroup" novalidate="novalidate" onsubmit="return validateCallback(this,listDialogAjaxDone)">
		<input type="hidden" name="menuGroup.id" value="#(menuGroup.id)"/>
				<div class="form-group">
				<label class="col-xs-3 control-label">名称：</label>
				<div class="col-xs-8">
	<input type="text" placeholder="取个名字，可自行决定" class="form-control required" name="menuGroup.name" value="#(menuGroup.name)"/>
				</div>
		</div>
		<p style="text-align: center;color: red">以下选项至少填写一项，否则无法生效</p>
		<div class="form-group">
				<label class="col-xs-3 control-label">用户标签：</label>
				<div class="col-xs-8">
	<input type="text" class="form-control " name="menuGroup.tag_id" value="#(menuGroup.tag_id)"/>
				<p>请勿随意填写，必须是用户标签ID，具体在“用户管理”里查看</p>
				</div>
		</div>
		<div class="form-group">
				<label class="col-xs-3 control-label">性别：</label>
				<div class="col-xs-3">
				<label style="font-weight:normal;line-height: 37px;margin-bottom: 0px;padding-right: 5px"><input type="radio" name="menuGroup.sex" #if(menuGroup.sex)#else checked="checked"#end value=""/> 全部</label>
		#for(item:data("WEIXIN_MENU_GROUP_SEX"))
		<label style="font-weight:normal;line-height: 37px;margin-bottom: 0px;padding-right: 5px"><input type="radio" name="menuGroup.sex" #if(menuGroup.sex)#if(menuGroup.sex==item.key)checked="checked"#end#end value="#(item.key)"/> #(item.value.name) </label>
		#end
				</div>
				<label class="col-xs-3 control-label">国家：</label>
				<div class="col-xs-3">
	<input type="text" class="form-control " name="menuGroup.country" value="#(menuGroup.country)"/>
				</div>
		</div>
		<div class="form-group">
				<label class="col-xs-3 control-label">省份：</label>
				<div class="col-xs-3">
	<input type="text" class="form-control " name="menuGroup.province" value="#(menuGroup.province)"/>
				</div>
				<label class="col-xs-3 control-label">城市：</label>
				<div class="col-xs-3">
	<input type="text" class="form-control " name="menuGroup.city" value="#(menuGroup.city)"/>
				</div>
		</div>
		<div class="form-group">
				<label class="col-xs-3 control-label">客户端平台：</label>
				<div class="col-xs-3">
	<input type="text" class="form-control " name="menuGroup.client_platform_type" value="#(menuGroup.client_platform_type)"/>
				</div>
				<label class="col-xs-3 control-label">语言：</label>
				<div class="col-xs-3">
	<input type="text" class="form-control " name="menuGroup.language" value="#(menuGroup.language)"/>
				</div>
		</div>
		<div class="form-group">
			<div class="col-xs-8 col-xs-offset-3">
				<button type="submit" class="btn btn-primary">保存</button>
			</div>
		</div>
	</form>
</div>
#end
#define js()
<script src="#(res_path)/hplus/js/plugins/validate/jquery.validate.min.js"></script>
<script src="#(res_path)/hplus/js/plugins/validate/messages_zh.min.js"></script>
#end
#define jsFunction()
<script>
$(function(){
});
</script>
#end
